/**
 * @IViewHandler.as
 * 
 * @author sodaChen mail:asframe@163.com
 * @version 1.0
 * <br>Copyright (C), 2010 asFrame.com
 * <br>This program is protected by copyright laws.
 * <br>Program Name:AStruts2
 * <br>Date:2012-4-21
 */
package com.asframe.astruts2.interfaces
{
	import com.asframe.astruts2.beans.ViewBean;
	import com.asframe.astruts2.context.AStrutsData;
	import com.asframe.astruts2.context.IAStrutsContext;
	
	import flash.display.Sprite;

	/**
	 * 对View的各种操纵
	 * @author sodaChen
	 * @Date:2012-4-21
	 */
	public interface IViewHandler
	{
		/**
		 * 设置View的容器对象 
		 * @param container
		 * 
		 */		
		function setAStrutsData(astrutsData:AStrutsData):void;
		/**
		 * 删除掉一个viewBean信息
		 * @param viewBean 删除的view对象信息
		 * 
		 */		
		function removeView(viewBean:ViewBean):void;
		/**
		 * 添加viewBean的信息
		 * @param viewBean 添加的view对象信息
		 * 
		 */		
		function addView(viewBean:ViewBean):void;
	}
}
